package com.ruoyi.garbage.domain;


import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库对象 question_bank
 *
 * @author 刘哲贤
 * @date 2023-01-07
 */
public class QuestionBank extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer questionId;

    /**
     * 垃圾类型
     */
    @ExcelProperty(value = "垃圾类型")
    private Integer garbageType;

    /**
     * 垃圾名称
     */
    @ExcelProperty(value = "垃圾名称")
    private String garbageName;

    /**
     * 解析
     */
    @ExcelProperty(value = "解析")
    private String analysis;

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getGarbageType() {
        return garbageType;
    }

    public void setGarbageType(Integer garbageType) {
        this.garbageType = garbageType;
    }

    public String getGarbageName() {
        return garbageName;
    }

    public void setGarbageName(String garbageName) {
        this.garbageName = garbageName;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("questionId", getQuestionId())
                .append("garbageType", getGarbageType())
                .append("garbageName", getGarbageName())
                .append("analysis", getAnalysis())
                .append("remark", getRemark())
                .toString();
    }
}
